//
//  IntroductionCollectionViewCellFirst.m
//  XYFMApp
//
//  Created by 岁变 on 16/9/5.
//  Copyright © 2016年 岁变. All rights reserved.
//

#import "IntroductionCollectionViewCellFirst.h"

@implementation IntroductionCollectionViewCellFirst

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        
        _logoLabel = [[UILabel alloc] init];
        _logoLabel.textColor =[UIColor colorWithRed:0.47 green:0.58 blue:0.58 alpha:1.00];
        _logoLabel.textAlignment = NSTextAlignmentCenter;
        _logoLabel.clipsToBounds = YES;
        _logoLabel.layer.borderWidth = 1;
        _logoLabel.layer.borderColor = [UIColor redColor].CGColor;
        _logoLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_logoLabel];
        
    }
    return self;
}

- (void)layoutSubviews {
    
    _logoLabel.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
    _logoLabel.layer.cornerRadius = _logoLabel.frame.size.height / 2;

    
}

@end
